{/include file="simpla/common/header.html"/}
{/include file="simpla/common/left.html"/}
<div id="main-content">
  <h2>欢迎您 {/$_adminname/}</h2>
  <p id="page-intro">系统配置。注意：修改后需要重新登录</p>
  <div class="clear"></div>
  <div class="content-box">
    <div class="content-box-header">
      <h3>系统配置</h3>
      <div class="clear"></div>
    </div>
    <div class="content-box-content">
      <div class="tab-content default-tab" id="tab1">
        <div class="form">
          <form action="{/get_url rule='/system/setting'/}" method="post" id="js-form">
            <fieldset class="clearfix">
              <p>
                <label><font class="red"> * </font>系统名称</label>
                <span>
                <input type="text" value="{/$system_name/}" class="text-input medium-input" name="system_name" />
                </span> </p>
              <p>
                <label><font class="red"> * </font>兑换比率</label>
                <span>
                人民币1元兑换积分 <input style="width:30px;" type="text" value="{/$ratio/}" class="text-input" name="ratio" /> 分
                </span> <br>
                <span>
                1点积分兑换人民币 <input style="width:30px;" type="text" value="{/$tormb/}" class="text-input" name="tormb" /> 元
                </span> 
                </p>
              <p>
                <label><font class="red"> * </font>Cookie密匙</label>
                <span>
                <input type="text" value="{/$cookie_key/}" class="text-input small-input" name="cookie_key" />
                </span> </p>
              <p>
                <label><font class="red"> * </font>条形码前缀</label>
                <span>
                <input type="text" value="{/$barcode/}" class="text-input small-input" style="width:90px !important;" name="barcode" />
                </span>  <span>条形码长度为13位，前7位在此设定，后6位由计算机生成。</span> </p>
              <p>
                <label><font class="red"> * </font>是否启用伪静态</label>
                <span>
                <input type="radio" value="1" name="rewrite" {/if $rewrite eq 1/} checked="checked"{//if/}/>
                启用
                <input type="radio" value="0" name="rewrite" {/if $rewrite eq 0/} checked="checked"{//if/}/>
                禁用 </span> </p>
              <p>
                <label><font class="red"></font>系统模板</label>
                <span>
                <input type="radio" value="red" name="theme" {/if $theme eq 'red'/} checked="checked"{//if/}/>
                红色
                <input type="radio" value="green" name="theme" {/if $theme eq 'green'/} checked="checked"{//if/}/>
                绿色
                <input type="radio" value="blue" name="theme" {/if $theme eq 'blue'/} checked="checked"{//if/}/>
                蓝色 </span> </p>
              <p>
                <label>清空数据</label>
                <input type="checkbox" name="cleartable" value="1" />
                <span>勾选将清空商品和会员所有数据。管理帐号不会清空。</span></p>
              <p>
                <input type="submit" name="" class="button" value=" 修改 " />
              </p>
            </fieldset>
          </form>
        </div>
      </div>
    </div>
  </div>
  {/include file="simpla/common/copy.html"/} </div>
{/include file="simpla/common/footer.html"/}